package org.jeecg.modules.hotel.arrangement.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.hotel.arrangement.entity.*;

import java.util.List;

public interface AutoAssignMapper extends BaseMapper<AutoAssignBed> {

    List<AutoAssignBed> getTeaCol(@Param(Constants.WRAPPER)QueryWrapper<AutoAssignBed> queryWrapperBed);

    List<AutoAssignStu> getStuBed(@Param(Constants.WRAPPER)QueryWrapper<AutoAssignStu> queryWrapperStu);

    AutoAssignBed getAdminId(String yxId);

    List<AutoAssignBed> getNullAdmin(@Param(Constants.WRAPPER)QueryWrapper<AutoAssignBed> queryWrapperBed);

}
